package com.example.demo.pattern.strategy;

import org.springframework.stereotype.Component;

/**
 * @program: demo
 * @description:
 * @author: yby
 * @create: 2020-06-12 17:23
 **/
@Component("ResourceB")
public class ResourceB implements StrategyFactory {

    @Override
    public String getVpcList(String id) {
        System.out.println("执行B。。。。");
        return id;
    }
}
